<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <title>出售中的商品</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="quanqiuchi ued">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="stylesheet" type="text/css" href="../bootstrap-3.3.5/dist/css/bootstrap.min.css" media="screen, projection">
    <!--     <link rel="stylesheet" type="text/css" href="../bootstrap-3.3.5/dist/css/bootstrap-theme.min.css" media="screen, projection"> -->
    <link rel="stylesheet" type="text/css" href="../css/style.css" media="screen, projection">
</head>

<body>
    <!--右边栏 Start-->
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <div class="page-header fm-hd">
                    <h4><span style="font-size:12px;">当前位置：商品管理&nbsp;&gt;&nbsp;</span>出售中的商品</h4>
                </div>
                <!-- 查询模块 Start -->
                <div class="fm-query">
                    <div class="frmbox">
                    	<form id="query_form">
                            <div class="querybox">
                             <!--    <div class="form-group">
                                    <label class="control-label">商品分类：</label>
                                    <div class="control-con">
                                        <select class="form-control">
                                            <option>全部类型</option>
                                        </select>
                                    </div>
                                </div> -->
                                <div class="form-group">
                                    <label class="control-label">商品名称：</label>
                                    <div class="control-con">
                                        <input type="text" class="form-control" name="goods_name">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label">商品编号：</label>
                                    <div class="control-con">
                                        <input type="text" class="form-control" name="goods_id" datatype="n0-19" errormsg="商品编号为19位以内数字" maxlength="19" value="{{id}}">
                                        <div class="Validform_checktip">商品编号格式不正确</div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label">当前价格：</label>
                                    <div class="control-con">
                                        <input type="text" class="form-control w130" name="beginpric" datatype="priceCompare"><span class="w40">到</span>
                                        <input type="text" class="form-control w130" name="endpric" datatype="priceCompare">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label">总销量：</label>
                                    <div class="control-con">
                                        <input type="text" class="form-control w130" name="beginnum" datatype="saleCompare"><span class="w40">到</span>
                                        <input type="text" class="form-control w130" name="endnum" datatype="saleCompare">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label">是否有新消息：</label>
                                    <div class="control-con">
                                        <input type="checkbox" class="chk" name="msgflag" style="margin:10px 0 0 0;"/>
                                    </div>
                                </div>
                            </div>
                            <div class="querybtn">
                                <button class="btn btn-primary" id="search_btn" type="button">搜索</button>
                                <button class="btn btn-default" id="reset_btn" type="button">重置</button>
                            </div>
                       </form>
                    </div>
                </div>
                <!-- 查询模块 End -->
                <!-- 订单列表 Start -->
               
                <div class="order-list" id="goods_list_content">
                </div>
                 
            </div>
        </div>
        <!--右边栏 End-->
        <!-- 确定是否上架提示层 -->
       <!--  <div class="modal fade" id="shangjia" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                            &times;
                        </button>
                        <h4 class="modal-title" id="myModalLabel">
                    提示
                </h4>
                    </div>
                    <div class="modal-body">
                        <div class="tipinfo">确定上架商品?</div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">取消
                        </button>
                        <button type="button" class="btn btn-primary">
                            确定
                        </button>
                    </div>
                </div>
                /.modal-content
            </div>
            </div> -->
            <!-- /.modal -->
            
             <!-- 销售商品编辑修改价格弹窗  开始-->
        <div class="modal fade" id="editsale" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                            &times;
                        </button>
                        <h4 class="modal-title" id="myModalLabel">
                   			 修改价格
                		</h4>
                    </div>
                    <div class="modal-body">
                        <div class="editbox">
                            <form class="form-inline" role="form" id="form_price_Validform">
                                <div class="form-group">
                                    <label class="control-label" for="name">会员价：</label>
                                    <input type="text" class="form-control" id="price1" datatype="validPrice" nullmsg="会员价不能为空">
                                </div>
                                <div class="form-group">
                                    <label class="control-label" for="name">非会员价：</label>
                                    <input type="text" class="form-control" id="price2" datatype="validPrice" nullmsg="非会员价不能为空">
                                </div>
                            </form>
                        </div>
                        <div class="yz-tip"><span id="price_msgdemo"></div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal" id="update_goods_price_cancel">取消
                        </button>
                        <button type="button" class="btn btn-primary" id="update_goods_price_confirm">
                           	 确定
                        </button>
                    </div>
                </div>
                <!-- /.modal-content -->
            </div>
        </div>
        <!-- 销售商品编辑修改价格弹窗  结束-->
        <!-- 服务商品编辑修改价格弹窗  开始-->
        <div class="modal fade" id="editservice" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">

        </div>
        <!-- 服务商品编辑修改价格弹窗  结束-->
        <!-- 库存修改  开始-->
        <div class="modal fade" id="editstorage" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                            &times;
                        </button>
                        <h4 class="modal-title" id="myModalLabel">
                    		提示
                        </h4>
                    </div>
                    <div class="modal-body">
                        <form class="form-inline" role="form" id="form_inventory_Validform">
                                <div class="form-group">
                                    <label class="control-label" for="name">库存：</label>
                                    <input type="text" class="form-control" datatype="/^[1-9][0-9]{0,7}$/" nullmsg="库存不能为空" errormsg="库存范围为[1-99999999]的整数"  id="goods_inventory_text">
                                </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal" id="update_goods_inventory_cancel">取消
                        </button>
                        <button type="button" class="btn btn-primary" id="update_goods_inventory_confirm">
                            	确定
                        </button>
                    </div>
                </div>
                <!-- /.modal-content -->
            </div>
        </div>
        <!-- 库存修改  结束-->
<!-- 地推二维码   对话框 -->
<div class="modal fade" id="codeModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
    <div class="modal-dialog">
        <div class="modal-content" style="width:800px;">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">请确认生产二维码信息</h4>
            </div>
            <div class="modal-body">
            	<div class="codebox">
            		<div class="codeleft">
            			<div class="codeinfo">
            				<div class="goodsimg"><img src="../images/main/home.jpg"/></div>
            				<div class="goodsinfo">
            					<div class="big-title">单次体验套装</div>
            					<div class="small-title">宅配套餐副标题</div>
            				</div>
            				<div class="clearit"></div>
            			</div>
            			<div class="codehouse">
            				<div class="h-left">关联小区</div>
            				<div class="h-right">
            					<button class="btn btn-default selectHouse">选择小区</button>
            				</div>
            			</div>
            		</div>
            		<div class="coderight">
            			<div class="qrcode"><div id="outcodehide" style="display: none;"></div><div id="outcode"></div></div>
            		</div>
            		<div class="clearit"></div>
            	</div>
            	<div style="text-align: center;" id="codeurl"></div>
            </div>
            <div class="modal-footer">
           	 	<button type="button" class="btn btn-primary codeGenerate">生成二维码</button>
                <button type="button" class="btn btn-default saveImg" style="display:none;">保存图片</button>
                <button type="button" class="btn btn-primary codeSubmit" data-dismiss="modal"  style="display:none;">确认</button>
            </div>
        </div><!-- /.modal-content -->
    </div>
</div>
<!-- /地推二维码  结束 -->  

<!-- 只能选择1个小区   对话框 -->
<div class="modal fade" id="houseModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
    <div class="modal-dialog">
        <div class="modal-content" style="width:800px;">
		    <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
		            &times;
		        </button>
		        <h4 class="modal-title" id="myModalLabel">选择小区</h4>
		    </div>
		    <input type="hidden" id="period_id" name="period_id" value={{period_id}}>
		    <div class="modal-body popfrm3">
		    	<div class="housebox">
		    		<div class="house-hd">
		    			<div class="hd-search">
		    				<div class="s-text">小区搜索</div>
		    				<div class="s-info">
		    					<input type="text"/>
		    					<i class="iconfont icon-s">&#xe60e;</i>
		    				</div>
		    			</div>
		    			<div class="clearit"></div>
		    		</div>
		    		<div class="house-bd">
		    			<div class="houselist">
		    				<ul>
		    					<li>万科金域榕郡花园一期</li>
		    					<li>三盛·果岭生活</li>
		    					<li>三盛中央公园</li>
		    					<li>三盛国际公园·波尔多庄园</li>
		    					<li>建发领第·天境湾</li>
		    					<li>建发领第·御湖湾</li>
		    					<li>居住主题公园</li>
		    					<li>融侨东区三期</li>
		    				</ul>
		    			</div>
		    		</div>
		    	</div>
		    </div>
		    <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal">取消
		        </button>
		        <button type="button" class="btn btn-primary oneSubmit">
		           	确定
		        </button>
		    </div>
		</div>
    </div>
</div>
<!-- /只能选择1个小区   结束 -->

<!-- 商品排序   对话框 -->
<div class="modal fade" id="goodssortModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
    <div class="modal-dialog">
        <div class="modal-content" style="width:800px;">
		    <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
		            &times;
		        </button>
		        <h4 class="modal-title" id="myModalLabel">前端商品排序</h4>
		    </div>
		    <input type="hidden" id="period_id" name="period_id" value={{period_id}}>
		    <div class="modal-body popfrm3">
		    	<div class="pxbox">
		    		<div class="hd">
		    			<div class="fl col1">顺序</div>
		    			<div class="fl col2">商品名称</div>
		    			<div class="fl col3">操作</div>
		    			<div class="clearit"></div>
		    		</div>
		    		<div class="bd">
		    		</div>
		    	</div>
		    </div>
		    <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal">取消
		        </button>
		        <button type="button" class="btn btn-primary submitBtn">
		           	保存
		        </button>
		    </div>
		</div>
    </div>
</div>
<!-- /商品排序   结束 -->
<!-- 消息提示框  -->
<div class="mes-container" id="msg_dialog">

</div>       
 <div id="conform_task_id"></div>
 <script src="../js/modules/goods/salegoods.js?v=1.2.1"></script>
</body>

</html>
